@font-face {
    font-family: 'ANTON';
    src: url('../fonts/ANTON-REGULAR.TTF');
    font-weight: normal;
    font-style: normal;
}

html,
body {
    width: 100%;
    height: 100%;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

a {
    &:hover {
        text-decoration: none;
    }
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

body {
    padding: 0;
    margin: 0;
    background-color: #1a1a1a;
    width: 100%;
    height: 100%;
    overflow: hidden;
}



.game_layout {
    width: 830px;
    height: 660px;
    margin: 0 auto;
    background-image: url(../images/game/bg.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: top center;
    position: relative;
    overflow: hidden;
    &_head {
        width: 100%;
        height: 85px;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 999;
        .top_layout{
            position: absolute;
            display: flex;
            align-items: center;
            // width: 100%;
            .icon{
                display: flex;
                align-items: center;
                margin-right: 9px;
                background-repeat: no-repeat;
                width: 42px;
                height: 45px;
                cursor: pointer;
                &.rank{
                    background-image: url(../images/icon/rank.png);
                }
                &.point{
                    background-image: url(../images/icon/point.png);
                }
                &.infomation{
                    background-image: url(../images/icon/infomation.png);
                }
                &.share{
                    background-image: url(../images/icon/share.png);
                }
                &.sound{
                    background-image: url(../images/icon/sound_on.png);
                    &.on{
                        background-image: url(../images/icon/sound_off.png);
                    }
                }
                &:last-child{
                    margin-right: 0;
                }
            }
            &.left{
                left: 10px;
            }
            &.right{
                right: 10px;
                justify-self: flex-end;
                justify-content: flex-end;
            }
        }
        .logo {
            position: absolute;
            top: -17px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background-image: url(../images/logo.png);
            width: 202px;
            height: 163px;
        }

    }

    &_contents {
        width: 100%;
        height: calc(100% - 85px);
        position: absolute;
        top: 85px;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 0 8px;
        box-sizing: border-box;
        z-index: 999;
        .sidebar{
            background-repeat: no-repeat;
            // overflow: hidden;
            border-radius: 10px;
            transition: all .5s;
            position: absolute;
            top: 83px;
            bottom: 35px;
            width: 156px;
            // height: 100%;
            z-index: 300;
            &_tit{
                width: 100%;
                height: 57px;
                margin-top: 10px;
            }
            &_contents{
                width: 100%;
                height: calc(100% - 67px);
                padding: 0 8px;
                box-sizing: border-box;
                position: relative;
                // max-height: 390px;
                .userpick{
                    position: relative;
                    width: 100%;
                    height: 100%;
                    &_layout{
                        position: absolute;
                        top: 0;
                        left: 0;
                        right: 0;
                        bottom: 0;
                        overflow-y: auto;
                        padding-top: 3px;
                        &::-webkit-scrollbar{
                            display: none;
                        }
                    }
                    &_item{
                        // width: 200px;
                        height: 46px;
                        padding: 0 5px;
                        box-sizing: border-box;
                        display: flex;
                        align-items: center;
                        justify-content:space-between;
                        margin-bottom: 5px;
                        position: relative;
                        border-radius: 25px;
                        background-color: #ebfff4;
                        box-shadow: inset 0 -5px 2px #acf1be;
                        .name{
                            display: flex;
                            align-items: center;
                            .level{
                                display: flex;
                                align-items: center;
                                position: relative;
                                margin-right: 2px;
                                .num{
                                    display: flex;
                                    align-items: center;
                                    justify-content: center;
                                    color: #fff;
                                    font-size: 12px;
                                    width: 24px;
                                    height: 24px;
                                    
                                    z-index: 100;
                                    &.red{
                                        background: url(../images/icon/red.png) no-repeat;
                                    }
                                    &.aqua{
                                        background: url(../images/icon/aqua.png) no-repeat;
                                    }
                                }
                            }
                            strong{
                                font-size: 13px;
                                color: #4d5d5d;
                                display: flex;
                                align-items: center;
                                font-weight: 100;
                                font-weight: bold;
                            }
                        }
                        .control{
                            display: flex;
                            align-items: center;
                            justify-content: flex-end;
                            .c_icon{
                                display: flex;
                                align-items: center;
                                width: 30px;
                                height:30px;
                                // margin-right: 2px;
                                image-rendering: -webkit-optimize-contrast;
                                image-rendering: -moz-crisp-edges;
                                image-rendering: crisp-edges;
                                &.blue{
                                    background: url(../images/game/icon_blue.png) no-repeat ;
                                    background-size: contain;
                                    background-position: right;
                                }
                                &.green{
                                    background: url(../images/game/icon_green.png) no-repeat;
                                    background-size: contain;
                                    background-position: right;
                                }
                                &.purple{
                                    background: url(../images/game/icon_purple.png) no-repeat;
                                    background-size: contain;
                                    background-position: right;
                                }
                                &.orange{
                                    background: url(../images/game/icon_orange.png) no-repeat;
                                    background-size: contain;
                                    background-position: right;
                                }
                                &.red{
                                    background: url(../images/game/icon_red.png) no-repeat;
                                    background-size: contain;
                                    background-position: right;
                                }
                                &.com{
                                    background: url(../images/icon/icon_com_off.png) no-repeat;
                                    background-size: 28px 28px;
                                    background-position: right;
                                    cursor: pointer;
                                    &.active{
                                        background: url(../images/icon/icon_com_on.png) no-repeat;
                                        background-size: 28px 28px;
                                        background-position: right;
                                    }
                                }
                                &.key{
                                    background: url(../images/icon/icon_key.png) no-repeat;
                                    background-size: 28px 28px;
                                    background-position: right;
                                    cursor: pointer;
                                }
                                &:last-child{
                                    margin-right: 0;
                                }
                            }
                        }
                        .hover_data{
                            position: absolute;
                            top: -108px;
                            left: 0;
                            right: 0;
                            height: 104px;
                            border-radius: 10px;
                            display: flex;
                            flex-direction: column;
                            background-color: #13423b;
                            border: 1px solid #1bd08d;
                            box-sizing: border-box;
                            overflow: hidden;
                            opacity: 0;
                            z-index: -1;
                            &_tit{
                                background-color: #28ac74;
                                display: flex;
                                align-items: center;
                                // justify-content: center;
                                width: 100%;
                                height: 34px;
                                padding: 0 10px;
                                box-sizing: border-box;
                                .name{
                                    strong{
                                        color: #fff;
                                        font-weight: 100;
                                    }
                                }
                            }
                            &_contents{
                                // padding: 0 10px;
                                box-sizing: border-box;
                                height: calc(100% - 34px);
                                display: flex;
                                flex-direction: column;
                                justify-content: center;
                                dl{
                                    display: flex;
                                    align-items: center;
                                    margin-bottom: 4px;
                                    width: 100%;
                                    dt{
                                        font-size: 12px;
                                        color: #fff;
                                        // width: 42px;
                                        width: 30%;
                                        text-align: center;
                                    }
                                    dd{
                                        font-size: 12px;
                                        color: #fff;
                                    }
                                    &:last-child{
                                        margin-bottom: 0;
                                    }
                                }
                            }
                        }
                        &:last-child{
                            margin-bottom: 0;
                        }
                        &:hover{
                            .hover_data{
                                opacity: 1;
                                z-index: 900;
                            }
                        }
                        &:nth-child(1),
                        &:nth-child(2){
                            .hover_data{
                                top: 50px;
                            }
                        }
                    }
                }
                .result{
                    width: 100%;
                    height: 100%;
                    position: relative;
                    &_list{
                        width: 100%;
                        position: absolute;
                        top: 0;
                        left: 0;
                        right: 0;
                        bottom: 0;
                        overflow-y: auto;
                        &::-webkit-scrollbar{
                            display: none;
                        }
                        &_item{
                            border-radius: 25px;
                            background-color: #ebfff4;
                            box-shadow: inset 0 -5px 2px #acf1be;
                            // width: 200px;
                            height: 40px;
                            padding: 0 10px;
                            box-sizing: border-box;
                            display: flex;
                            justify-content: space-between;
                            align-items: center;
                            margin-bottom: 5px;
                            .round_number{
                                font-size: 14px;
                                color: #176a44;
                                display: flex;
                                align-items: center;
                                justify-content: center;
                                font-weight: bold;
                                line-height: 2;
                            }
                            .round_data{
                                display: flex;
                                align-items: center;
                                .c_icon{
                                    display: flex;
                                    align-items: center;
                                    background-repeat: no-repeat;
                                    width: 34px;
                                    height: 34px;
                                    image-rendering: -webkit-optimize-contrast;
                                    image-rendering: -moz-crisp-edges;
                                    image-rendering: crisp-edges;
                                    &.blue{
                                        background: url(../images/game/icon_blue.png) no-repeat ;
                                        background-size: contain;
                                        background-position: center;
                                    }
                                    &.green{
                                        background: url(../images/game/icon_green.png) no-repeat;
                                        background-size: contain;
                                        background-position: center;
                                    }
                                    &.purple{
                                        background: url(../images/game/icon_purple.png) no-repeat;
                                        background-size: contain;
                                        background-position: center;
                                    }
                                    &.orange{
                                        background: url(../images/game/icon_orange.png) no-repeat;
                                        background-size: contain;
                                        background-position: center;
                                    }
                                    &.red{
                                        background: url(../images/game/icon_red.png) no-repeat;
                                        background-size: contain;
                                        background-position: center;
                                    }
                                    &.com{
                                        background: url(../images/icon/icon_com_off.png) no-repeat;
                                        background-size: contain;
                                        background-position: center;
                                        cursor: pointer;
                                        &.active{
                                            background: url(../images/icon/icon_com_on.png) no-repeat;
                                            background-size: contain;
                                            background-position: center;
                                        }
                                    }
                                    &.key{
                                        background: url(../images/icon/icon_key.png) no-repeat;
                                        background-size: contain;
                                        background-position: center;
                                        cursor: pointer;
                                    }
                                }
                            }
                            &:last-child{
                                margin-bottom: 0;
                            }
                        }
                    }
                }
                &::-webkit-scrollbar{
                    display: none;
                }
            }
            &.left{
                left: 8px;
                &.on{
                    transform: translateX(-230px);
                }
            }
            &.right{
                right: 8px;
                &.on{
                    transform: translateX(230px);
                }
            }
        }
        .game_box {
            position: relative;
            width: 520px;
            height: 100%;
            box-sizing: border-box;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto;
            padding-top: 42px;
            .game{
                position: relative;
                width: 100%;
                height: 100%;
                &_door{
                    background-image: url(../images/game/gooldoor.png);
                    width: 467px;
                    height: 254px;
                    margin: 0 auto;
                    position: absolute;
                    top: 0;
                    left: 0;
                    right: 0;
                    z-index: 100;
                }
                &_info{
                    position: absolute;
                    top: 0;
                    left: 0;
                    right:0;
                    bottom: 0;
                    z-index: 200;
                    .game_data{
                        position: absolute;
                        top: 40px;
                        left: 0;
                        right: 0;
                        width: 295px;
                        height: 176px;
                        margin: 0 auto;
                        display: grid;
                        grid-template-columns: repeat(3,1fr);
                        grid-gap: 14px;
                        z-index: 888;
                        transition: all .5s;
                        opacity: 0;
                        &_item{
                            background-repeat: no-repeat;
                            width: 100%;
                            height: 100%;
                            transition: all .5s;
                            &.door_left{
                                background-image: url(../images/game/door_left.png);
                            }
                            &.door_center{
                                background-image: url(../images/game/door_center.png);
                            }
                            &.door_right{
                                background-image: url(../images/game/door_right.png);
                            }
                            &.on{
                                animation: bouns .6s linear forwards;
                                @keyframes bouns {
                                    0%{
                                        // transform: scale(1) translateZ(0);
                                        // opacity: 1;
                                        transform: rotateX(0deg)
                                    }
                                    50%{
                                        // transform: scale(1.1) translateZ(0);
                                        // opacity: .7;
                                        transform: rotateX(360deg)
                                    }
                                }
                            }
                        }
                        &.on{
                            opacity: 1;
                        }
                    }
                    .game_radius{
                        width: 200px;
                        height: 250px;
                        position: relative;
                        margin: 0 auto;
                        // background-color: #000;
                        position: absolute;
                        left: 0;
                        right: 0;
                        bottom: 130px;
                        z-index: 999;
                        .balls{
                            position: absolute;
                            left:50%;
                            bottom: 0;
                            transform-origin: left;
                            width: 200px;
                            height: 250px;
                            display: flex;
                            align-items: flex-end;
                            justify-content: center;
                            transform: rotate(180deg) translate(-50%, -100%);
                            z-index: 100;
                            &:before{
                                content: '';
                                background-image: url(../images/game/ball.png);
                                background-repeat: no-repeat;
                                width: 74px;
                                height: 75px;
                                position: absolute;
                                left: 0;
                                right: 0;
                                bottom: -3px;
                                margin: 0 auto;
                                z-index: 999;
                                display: flex;
                                transform: rotate(180deg);
                            }
                            &.left{
                                animation:left .5s ease-out forwards;
                                // transform: rotate(180deg) translate(-50%, -100%);
                                opacity: 1;
                                @keyframes left {
                                    from {
                                        transform: rotate(180deg) translate(-50%, -100%);
                                        transform-origin: 0 125px ;
                                      }
                                      to {
                                        transform: rotate(300deg) translate(-50%, -100%);
                                        transform-origin: 0 65px ;
                                      }
                                }
                                &:before{
                                    animation: ball_rotate .5s linear forwards;
                                    @keyframes ball_rotate {
                                        0%{
                                            transform:  scale(1);
                                            filter: blur(0);
                                        }
                                        99.99%{
                                            transform:  scale(.5);
                                            opacity: .9;
                                            filter: blur(1px);
                                        }
                                        100%{
                                            transform:  scale(0);
                                            opacity: 0;
                                            filter: blur(1px);
                                        }
                                    }
                                }
                            }
                            &.center{
                                animation:center .5s ease-out forwards;
                                // transform: rotate(180deg) translate(-50%, -100%);
                                opacity: 1;
                                @keyframes center {
                                    from {
                                        transform: translate(-50%, 0);
                                        transform-origin: unset;
                                      }
                                      to {
                                        transform: translate(-50%, -80%);
                                        transform-origin: unset;
                                      }
                                }
                                &:before{
                                    animation: ball_rotate .5s linear forwards;
                                    @keyframes ball_rotate {
                                        0%{
                                            transform:  scale(1);
                                            filter: blur(0);
                                        }
                                        99.99%{
                                            transform:  scale(.5);
                                            opacity: .9;
                                            filter: blur(1px);
                                        }
                                        100%{
                                            transform:  scale(0);
                                            opacity: 0;
                                            filter: blur(1px);
                                        }
                                    }
                                }
                            }
                            &.right{
                                animation:right .5s ease-out forwards;
                                transform: rotate(180deg) translate(-50%, -100%);
                                opacity: 1;
                                @keyframes right {
                                    from {
                                        transform: rotate(180deg) translate(-50%, -100%);
                                        transform-origin: 0 125px ;
                                      }
                                      to {
                                        transform: rotate(65deg) translate(-50%, -100%);
                                        transform-origin: 0 65px ;
                                      }
                                }
                                &:before{
                                    animation: ball_rotate1 .5s linear forwards;
                                    @keyframes ball_rotate1 {
                                        0%{
                                            transform:  scale(1);
                                            filter: blur(0);
                                        }
                                        99.99%{
                                            transform:  scale(.5);
                                            opacity: .9;
                                            filter: blur(1px);
                                        }
                                        100%{
                                            transform:  scale(0);
                                            opacity: 0;
                                            filter: blur(1px);
                                        }
                                    }
                                }
                            }
                        }
                        // .bang{
                        //     content: '';
                        //     display: flex;
                        //     width: 118px;
                        //     height: 97px;
                        //     background-image: url(../images/game/bang.png);
                        //     background-repeat: no-repeat;
                        //     position: absolute;
                        //     left: 54px;
                        //     bottom: -71px;
                        //     margin: 0 auto;
                        //     z-index: 1;
                        //     opacity: 0;
                        //     &.on{
                        //         animation: bang .2s ease forwards;
                        //         @keyframes bang {
                        //             0%{
                        //                 opacity: 0;
                        //             }
                        //             1%{
                        //                 opacity: 1;
                        //             }
                        //             100%{
                        //                 opacity: 0;
                        //             }
                        //         }
                        //     }
                        // }
                        .messi{
                            width: 192px;
                            height: 264px;
                            display: flex;
                            position: absolute;
                            left: -72px;
                            bottom: -100px;
                            z-index: 200;
                            transition: linear 1.2s;
                            transform: translate(-80px,20px);
                            background-repeat: no-repeat;
                            &_img{
                                background-image: url(../images/game/PK_ANI_1.png);
                                background-repeat: no-repeat;
                                width: 100%;
                                height: 100%;
                            }
                            &:after{
                                content: '';
                                position: absolute;
                                left: 0;
                                bottom: -50px;
                                background-image: url(../images/game/shadow.png);
                                background-repeat: no-repeat;
                                width: 207px;
                                height: 70px;
                                z-index: -1;
                            }
                            &.on{
                                background-repeat: no-repeat;
                                width: 227px;
                                height: 275px;
                                left: -75px;
                                bottom: -120px;
                                transform: translate(0,0);
                                .messi_img{
                                    background-image: url(../images/game/PK_ANI_2.png);
                                }
                            }
                        }
                    }
                    .ball_info{
                        position: absolute;
                        left: 0;
                        right: 0;
                        bottom: 60px;
                        background-image: url(../images/game/power_line.png);
                        background-repeat: no-repeat;
                        width: 346px;
                        height: 107px;
                        margin: 0 auto;
                        &:before{
                            content: '';
                            background-image: url(../images/game/power_mid.png);
                            background-repeat: no-repeat;
                            width: 237px;
                            height: 101px;
                            margin: 0 auto;
                            display: flex;
                            position: absolute;
                            left: 0;
                            right: 0;
                            bottom: 0;
                        }
                        &:after{
                            content: '';
                            background-image: url(../images/game/power_small.png);
                            background-repeat: no-repeat;
                            width: 169px;
                            height: 72px;
                            margin: 0 auto;
                            display: flex;
                            position: absolute;
                            left: 0;
                            right: 0;
                            bottom: 0;
                            transform: scale(0);
                            transform-origin: bottom;
                            animation: grap 2s linear infinite;
                            @keyframes grap {
                                0%{
                                    transform: scale(0);
                                }
                                50%{
                                    transform: scale(1.4);
                                }
                            }
                        }
                        .ball{
                            background-image: url(../images/game/ball.png);
                            background-repeat: no-repeat;
                            width: 74px;
                            height: 75px;
                            position: absolute;
                            left: 0;
                            right: 0;
                            margin: 0 auto;
                            bottom: -3px;
                            z-index: 999;
                        }
                    }
                    .ballshadow{
                        background-image: url(../images/game/ball_str.png);
                        background-repeat: no-repeat;
                        width: 65px;
                        height: 29px;
                        display: flex;
                        position: absolute;
                        left: 0;
                        right: 0;
                        bottom: 45px;
                        margin: 0 auto;
                    }
                    .game_result{
                        position: absolute;
                        top: 65px;
                        left: 50%;
                        transform: translate(-50%,0) scale(0);
                        transition: all .5s;
                        opacity: 0;
                        width: 127px;
                        height: 132px;
                        z-index: 999;
                        .goal{
                            position: absolute;
                            top: -13px;
                            right: -11px;
                            background-image: url(../images/game/goal.png);
                            width: 56px;
                            height: 60px;
                            z-index: 999;
                            transform: scale(.8);
                            transform-origin: center;
                            animation: goal .5s linear infinite;
                            @keyframes goal {
                                0%{
                                    transform: scale(.8);
                                }
                                50%{
                                    transform: scale(1);
                                }
                            }
                        }
                        &_info{
                            background-repeat: no-repeat;
                            position: absolute;
                            left: 0;
                            right: 0;
                            bottom: 10px;
                            margin: 0 auto;
                            z-index: 300;
                            &.left{
                                background-image: url(../images/game/left.png);
                                width: 61px;
                                height: 67px;
                            }
                            &.center{
                                background-image: url(../images/game/center.png);
                                width: 61px;
                                height: 67px;
                            }
                            &.right{
                                background-image: url(../images/game/right.png);
                                width: 61px;
                                height: 67px;
                            }
                        }
                        &:after{
                            content: '';
                            background-image: url(../images/game/win_bg.png);
                            background-repeat: no-repeat;
                            position: absolute;
                            top: 0;
                            left: 0;
                            right: 0;
                            bottom: 0;
                        }
                        &:before{
                            content: '';
                            background-image: url(../images/game/win_higary.png);
                            background-repeat: no-repeat;
                            background-position: center;
                            width: 268px;
                            height: 267px;
                            display: flex;
                            position: absolute;
                            top: -60px;
                            left: -80px;
                            right: 0;
                            bottom: 0;
                            z-index: -1;
                            // transform: scale(.4);
                            transform-origin: center;
                            animation: goal_higary 5s linear infinite;
                            @keyframes goal_higary {
                                0%{
                                    transform: rotate(0deg);
                                }
                                100%{
                                    transform: rotate(360deg);
                                }
                            }
                        }
                        &.on{
                            opacity: 1;
                            transform: translate(-50%,0) scale(1);
                        }
                    }
                }
            }
        }
    }
    .bg_light{
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1;
        height: 300px;
        // background-color: red;
        .light{
            display: flex;
            position: absolute;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            &.one{
                background-image: url(../images/game/icon_light_1.png);
                width: 19px;
                height: 19px;
                position: absolute;
                left: 200px;
                bottom: 0;
                opacity: 0;
                animation: light_one 6s linear infinite;
                @keyframes light_one {
                    0%{
                        bottom: 0;
                        opacity: 1;
                    }
                    100%{
                        bottom: 100%;
                        opacity: 0;
                    }
                }
            }
            &.two{
                background-image: url(../images/game/icon_light_2.png);
                width: 17px;
                height: 17px;
                position: absolute;
                left: 150px;
                bottom: 0;
                opacity: 0;
                animation: light_two 4s linear infinite;
                animation-delay: .5s;
                @keyframes light_two {
                    0%{
                        bottom: 0;
                        opacity: 1;
                    }
                    100%{
                        bottom: 100%;
                        opacity: 0;
                    }
                }
            }
            &.three{
                background-image: url(../images/game/icon_light_3.png);
                width: 16px;
                height: 16px;
                position: absolute;
                left: 100px;
                bottom: 0;
                opacity: 0;
                animation: light_three 6s linear infinite;
                animation-delay: 1s;
                @keyframes light_three {
                    0%{
                        bottom: 0;
                        opacity: 1;
                    }
                    100%{
                        bottom: 100%;
                        opacity: 0;
                    }
                }
            }
            &.four{
                background-image: url(../images/game/icon_light_4.png);
                width: 16px;
                height: 16px;
                position: absolute;
                left: 50px;
                bottom: 0;
                opacity: 0;
                animation: light_four 4s linear infinite;
                animation-delay: 1.5s;
                @keyframes light_four {
                    0%{
                        bottom: 0;
                        opacity: 1;
                    }
                    100%{
                        bottom: 100%;
                        opacity: 0;
                    }
                }
            }
            &.five{
                background-image: url(../images/game/icon_light_6.png);
                width: 19px;
                height: 19px;
                position: absolute;
                left: 180px;
                bottom: 0;
                opacity: 0;
                animation: light_five 6s linear infinite;
                animation-delay: 2s;
                @keyframes light_five {
                    0%{
                        bottom: 0;
                        opacity: 1;
                    }
                    100%{
                        bottom: 100%;
                        opacity: 0;
                    }
                }
            }
            &.six{
                background-image: url(../images/game/icon_light_7.png);
                width: 19px;
                height: 19px;
                position: absolute;
                left: 20px;
                bottom: 0;
                opacity: 0;
                animation: light_six 7s linear infinite;
                animation-delay: 1.5s;
                @keyframes light_six {
                    0%{
                        bottom: 0;
                        opacity: 1;
                    }
                    100%{
                        bottom: 100%;
                        opacity: 0;
                    }
                }
            }
            &.seven{
                background-image: url(../images/game/icon_light_3.png);
                width: 19px;
                height: 19px;
                position: absolute;
                right: 170px;
                bottom: 0;
                opacity: 0;
                animation: light_seven 6s linear infinite;
                animation-delay: 3s;
                @keyframes light_seven {
                    0%{
                        bottom: 0;
                        opacity: 1;
                    }
                    100%{
                        bottom: 100%;
                        opacity: 0;
                    }
                }
            }
            &.eight{
                background-image: url(../images/game/icon_light_4.png);
                width: 19px;
                height: 19px;
                position: absolute;
                right: 180px;
                bottom: 0;
                opacity: 0;
                animation: light_eight 4s linear infinite;
                animation-delay: 2s;
                @keyframes light_eight {
                    0%{
                        bottom: 0;
                        opacity: 1;
                    }
                    100%{
                        bottom: 100%;
                        opacity: 0;
                    }
                }
            }
            &.nine{
                background-image: url(../images/game/icon_light_7.png);
                width: 19px;
                height: 19px;
                position: absolute;
                right: 80px;
                bottom: 0;
                opacity: 0;
                animation: light_nine 7s linear infinite;
                animation-delay: 3s;
                @keyframes light_nine {
                    0%{
                        bottom: 0;
                        opacity: 1;
                    }
                    100%{
                        bottom: 100%;
                        opacity: 0;
                    }
                }
            }
            &.ten{
                background-image: url(../images/game/icon_light_6.png);
                width: 19px;
                height: 19px;
                position: absolute;
                right: 120px;
                bottom: 0;
                opacity: 0;
                animation: light_ten 3.5s linear infinite;
                animation-delay: 1.5s;
                @keyframes light_ten {
                    0%{
                        bottom: 0;
                        opacity: 1;
                    }
                    100%{
                        bottom: 100%;
                        opacity: 0;
                    }
                }
            }
            &.eleven{
                background-image: url(../images/game/icon_light_2.png);
                width: 19px;
                height: 19px;
                position: absolute;
                right: 110px;
                bottom: 0;
                opacity: 0;
                animation: light_eleven 6s linear infinite;
                animation-delay: 2s;
                @keyframes light_eleven {
                    0%{
                        bottom: 0;
                        opacity: 1;
                    }
                    100%{
                        bottom: 100%;
                        opacity: 0;
                    }
                }
            }
            &.twelve{
                background-image: url(../images/game/icon_light_1.png);
                width: 19px;
                height: 19px;
                position: absolute;
                right: 200px;
                bottom: 0;
                opacity: 0;
                animation: light_twenlve 6s linear infinite;
                animation-delay: 2s;
                @keyframes light_twenlve {
                    0%{
                        bottom: 0;
                        opacity: 1;
                    }
                    100%{
                        bottom: 100%;
                        opacity: 0;
                    }
                }
            }
        }
    }
}

.button_box{
    position: fixed;
    top: 50%;
    right: 20px;
    display: flex;
    flex-direction: column;
    button{
        width: 200px;
        height: 50px;
        border-radius: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 10px;
        background-color: #008aff;
        color: #fff;
        &:last-child{
            margin-bottom: 0;
        }
    }
}

.text_red {
    color: #ff1414 !important;
}

.text_blue {
    color: #008aff !important;
}

.blue_bor {
    border-left: 4px solid #0030f8;
}

.green_bor {
    border-left: 4px solid #00bf0b;
}

.red_bor {
    border-left: 4px solid #dc0202;
}

.blue_radius {
    border: 2px solid #0030f8;
}

.red_radius {
    border: 2px solid #dc0202;
}

.green_radius {
    border: 2px solid #00bf0b;
}

.red_bg {
    background-color: #dc0202;
}

.blue_bg {
    background-color: #0030f8;
}

.green_bg {
    background-color: #00bf0b;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}


::-webkit-scrollbar-thumb {
    border-radius: 1em;
    background-color: #000;
    border-radius: 0;
}


::-webkit-scrollbar-track {
    border-radius: 1em;
    background-color: #ffffff1a;
    border-radius: 0;
}

.is-flipping {
    animation: flipping 1s linear forwards;
}

/* FLIPPING ANIMATION */
@keyframes flipping {
    0% {
        transform: scale(1) rotateY(0);
    }

    10% {
        transform: scale(1.2) rotateY(180deg);
    }

    20% {
        transform: scale(1.4) rotateY(360deg);
    }

    30% {
        transform: scale(1.6) rotateY(540deg);
    }

    40% {
        transform: scale(1.4) rotateY(360deg);
    }

    50% {
        transform: scale(1.2) rotateY(180deg);
    }

    60% {
        transform: scale(1) rotateY(0);
    }
}

.times {
    font-family: 'notosans';
}


@media (max-width:980px) {
    .times {
        p {
            height: 54px;
        }
    }
}

.hiddens {
    display: none;
}

.pop_layout {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    transition: all .3s;

    .close {
        position: absolute;
        top: 20px;
        right: 20px;
        cursor: pointer;
        opacity: 0;
        transition: all .5s;
    }

    .pop {
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        background-color: #2e5b3e;
        margin-top: 102px;
        z-index: 999;
        transition: all .3s;
        transform: translateY(-400px);
        opacity: 0;
        width: 80%;
        margin: 0 auto;

        .pop_head {
            width: 100%;
            height: 60px;
            background-color: #1fd391;
            display: flex;
            align-items: center;
            position: relative;
            padding: 0 30px;
            box-sizing: border-box;

            strong {
                display: flex;
                align-items: center;
                color: #181b17;
                font-size: 13px;
                font-weight: bold;
            }
        }

        .pop_body {
            padding: 15px 30px;
            min-height: 200px;
            box-sizing: border-box;

            strong {
                display: flex;
                align-items: center;
                width: 100%;
                font-size: 13px;
                color: #fff;
                margin-bottom: 15px;
            }

            .textarea {
                width: 100%;
                background-color: #19202a;
                display: grid;
                grid-template-columns: 1fr 98px;
                grid-gap: 5px;
                padding: 10px;
                box-sizing: border-box;

                textarea {
                    border: 0;
                    display: flex;
                    align-items: center;
                    vertical-align: middle;
                    outline: none;
                    min-width: unset;
                    min-height: unset;
                    background: none;
                    color: #fff;
                    height: 38px;
                    padding: 0;
                }

                button {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    width: 98px;
                    height: 38px;
                    background-color: #1fd391;
                    color: #fff;
                }
            }

            >p {
                font-size: 12px;
                color: #fff;
                line-height: 1.5;
            }

            .textBox {
                color: #fff;
                font-size: 13px;
            }

            .p_ranking{
                &_head{
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    width: 100%;
                    height: 50px;
                    background-color: #19202a;
                    .name{
                        display: flex;
                        align-items: center;
                        margin-right: 15px;
                        .icon{
                            display: flex;
                            align-items: center;
                            margin-right: 5px;
                        }
                        h3{
                            display: flex;
                            align-items: center;
                            font-size: 12px!important;
                            line-height: 2;
                            color: #fff;
                            font-weight: 100;
                        }
                    }
                    .data{
                        display: flex;
                        align-items: center;
                        color: #fff;
                        font-size: 12px;
                        margin-right: 15px;
                        .icon{
                            display: flex;
                            align-items: center;
                        }
                        &:last-child{
                            margin-right: 0;
                        }
                    }
                }
                &_list{
                    max-height: 200px;
                    overflow-y: auto;
                    margin-top: 20px;
                    &_item{
                        width: 100%;
                        height: 40px;
                        display: grid;
                        grid-template-columns: repeat(4,1fr);
                        align-items: center;
                        background-color: #121212;
                        border-bottom: 2px solid #2e5b3e;
                        .layout{
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            color: #fff;
                            font-size: 14px;
                            position: relative;
                            .icons{
                                margin-right: 5px;
                                width: 32px;
                                height: 32px;
                                display: flex;
                            }
                            &:after{
                                content: '';
                                display: flex;
                                width: 1px;
                                height: 26px;
                                position: absolute;
                                top: 50%;
                                right: 0;
                                background-color: #fff2cc;
                                transform: translateY(-50%);
                            }
                            &:last-child{
                                &:after{
                                    display: none;
                                }
                            }
                            &.beige{
                                color: #fff2cc;
                            }
                        }
                    }
                    &_two{
                        max-height: 250px;
                        overflow-y: auto;
                        &_item{
                            display: grid;
                            grid-template-columns: 15% 25% 15% 25% 1fr;
                            align-items: center;
                            background-color: #121212;
                            border-bottom: 2px solid #2e5b3e;
                            width: 100%;
                            height: 42px;
                            .layout{
                                display: flex;
                                align-items: center;
                                justify-content: center;
                                color: #fff;
                                font-size: 14px;
                                position: relative;
                                .name{
                                    display: flex;
                                    align-items: center;
                                    .icon{
                                        display: flex;
                                        align-items: center;
                                    }
                                    h3{
                                        font-size: 14px!important;
                                        color: #fff;
                                    }
                                }
                                .icon{
                                    margin-right: 5px;
                                }
                                button{
                                    background: unset;
                                }
                                &:after{
                                    content: '';
                                    display: flex;
                                    width: 1px;
                                    height: 26px;
                                    position: absolute;
                                    top: 50%;
                                    right: 0;
                                    background-color: #fff2cc;
                                    transform: translateY(-50%);
                                }
                                &:last-child{
                                    justify-self: flex-end;
                                    &:after{
                                        display: none;
                                    }
                                }
                                &:first-child{
                                    color: #fff;
                                }
                            }
                            &:nth-child(1){
                                .layout{
                                    &:nth-child(1){
                                        color: #ffc618;
                                    }
                                }
                            }
                            &:nth-child(2){
                                .layout{
                                    &:nth-child(1){
                                        color: #20bda1;
                                    }
                                }
                            }
                            &:nth-child(3){
                                .layout{
                                    &:nth-child(1){
                                        color: #9e37e6;
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }

    &.on {
        z-index: 9999;
        background-color: rgba(0, 0, 0, 0.7);
        .close{
            opacity: 1;
        }
        .pop {
            transform: translateY(-50%);
            opacity: 1;
        }
    }
}